home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'Classes.pas' rev: 3.00
-
- #ifndef ClassesHPP
- #define ClassesHPP
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
- #pragma option -w-inl
-
- namespace Classes
- {
- //-- type declarations -------------------------------------------------------
- enum TAlignment { taLeftJustify, taRightJustify, taCenter };
-
- typedef TAlignment TLeftRight;
-
- enum Classes__1 { ssShift, ssAlt, ssCtrl, ssLeft, ssRight, ssMiddle, ssDouble };
-
- typedef Set<Classes__1, ssShift, ssDouble> TShiftState;
-
- typedef int THelpContext;
-
- typedef void __fastcall (__closure *TNotifyEvent)(System::TObject* Sender);
-
- typedef bool __fastcall (__closure *THelpEvent)(Word Command, int Data, bool &CallHelp);
-
- typedef void __fastcall (__closure *TGetStrProc)(const System::AnsiString S);
-
- class DELPHICLASS EStreamError;
- class PASCALIMPLEMENTATION EStreamError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EStreamError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EStreamError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EStreamError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EStreamError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EStreamError(const System::AnsiString Msg, int AHelpContext) :
- Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EStreamError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EStreamError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EStreamError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EStreamError(void) { }
-
- };
-
- class DELPHICLASS EFCreateError;
- class PASCALIMPLEMENTATION EFCreateError : public Classes::EStreamError
- {
- typedef Classes::EStreamError inherited;
-
- public:
- /* Exception.Create */ __fastcall EFCreateError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EFCreateError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EFCreateError(int Ident, Extended Dummy) : Classes::EStreamError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EFCreateError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EFCreateError(const System::AnsiString Msg, int AHelpContext)
- : Classes::EStreamError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EFCreateError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EStreamError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EFCreateError(int Ident, int AHelpContext) : Classes::EStreamError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EFCreateError(int Ident, const System::TVarRec * Args,
- const int Args_Size, int AHelpContext) : Classes::EStreamError(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EFCreateError(void) { }
-
- };
-
- class DELPHICLASS EFOpenError;
- class PASCALIMPLEMENTATION EFOpenError : public Classes::EStreamError
- {
- typedef Classes::EStreamError inherited;
-
- public:
- /* Exception.Create */ __fastcall EFOpenError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EFOpenError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EFOpenError(int Ident, Extended Dummy) : Classes::EStreamError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EFOpenError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EFOpenError(const System::AnsiString Msg, int AHelpContext) :
- Classes::EStreamError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EFOpenError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EStreamError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EFOpenError(int Ident, int AHelpContext) : Classes::EStreamError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EFOpenError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Classes::EStreamError(Ident, Args, Args_Size, AHelpContext) { }
-
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EFOpenError(void) { }
-
- };
-
- class DELPHICLASS EFilerError;
- class PASCALIMPLEMENTATION EFilerError : public Classes::EStreamError
- {
- typedef Classes::EStreamError inherited;
-
- public:
- /* Exception.Create */ __fastcall EFilerError(const System::AnsiString Msg) : Classes::EStreamError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EFilerError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EStreamError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EFilerError(int Ident, Extended Dummy) : Classes::EStreamError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EFilerError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EStreamError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EFilerError(const System::AnsiString Msg, int AHelpContext) :
- Classes::EStreamError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EFilerError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EStreamError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EFilerError(int Ident, int AHelpContext) : Classes::EStreamError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EFilerError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Classes::EStreamError(Ident, Args, Args_Size, AHelpContext) { }
-
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EFilerError(void) { }
-
- };
-
- class DELPHICLASS EReadError;
- class PASCALIMPLEMENTATION EReadError : public Classes::EFilerError
- {
- typedef Classes::EFilerError inherited;
-
- public:
- /* Exception.Create */ __fastcall EReadError(const System::AnsiString Msg) : Classes::EFilerError(Msg
- ) { }
- /* Exception.CreateFmt */ __fastcall EReadError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EReadError(int Ident, Extended Dummy) : Classes::EFilerError(Ident
- , Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EReadError(int Ident, const System::TVarRec * Args, const int
- Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EReadError(const System::AnsiString Msg, int AHelpContext) :
- Classes::EFilerError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EReadError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EFilerError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EReadError(int Ident, int AHelpContext) : Classes::EFilerError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EReadError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Classes::EFilerError(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EReadError(void) { }
-
- };
-
- class DELPHICLASS EWriteError;
- class PASCALIMPLEMENTATION EWriteError : public Classes::EFilerError
- {
- typedef Classes::EFilerError inherited;
-
- public:
- /* Exception.Create */ __fastcall EWriteError(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EWriteError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EWriteError(int Ident, Extended Dummy) : Classes::EFilerError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EWriteError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EWriteError(const System::AnsiString Msg, int AHelpContext) :
- Classes::EFilerError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EWriteError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EFilerError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EWriteError(int Ident, int AHelpContext) : Classes::EFilerError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EWriteError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Classes::EFilerError(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EWriteError(void) { }
-
- };
-
- class DELPHICLASS EClassNotFound;
- class PASCALIMPLEMENTATION EClassNotFound : public Classes::EFilerError
- {
- typedef Classes::EFilerError inherited;
-
- public:
- /* Exception.Create */ __fastcall EClassNotFound(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EClassNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EClassNotFound(int Ident, Extended Dummy) : Classes::EFilerError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EClassNotFound(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EClassNotFound(const System::AnsiString Msg, int AHelpContext
- ) : Classes::EFilerError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EClassNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EFilerError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EClassNotFound(int Ident, int AHelpContext) : Classes::EFilerError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EClassNotFound(int Ident, const System::TVarRec * Args,
- const int Args_Size, int AHelpContext) : Classes::EFilerError(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EClassNotFound(void) { }
-
- };
-
- class DELPHICLASS EMethodNotFound;
- class PASCALIMPLEMENTATION EMethodNotFound : public Classes::EFilerError
- {
- typedef Classes::EFilerError inherited;
-
- public:
- /* Exception.Create */ __fastcall EMethodNotFound(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EMethodNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EMethodNotFound(int Ident, Extended Dummy) : Classes::EFilerError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EMethodNotFound(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EMethodNotFound(const System::AnsiString Msg, int AHelpContext
- ) : Classes::EFilerError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EMethodNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EFilerError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EMethodNotFound(int Ident, int AHelpContext) : Classes::EFilerError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EMethodNotFound(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Classes::EFilerError(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EMethodNotFound(void) { }
-
- };
-
- class DELPHICLASS EInvalidImage;
- class PASCALIMPLEMENTATION EInvalidImage : public Classes::EFilerError
- {
- typedef Classes::EFilerError inherited;
-
- public:
- /* Exception.Create */ __fastcall EInvalidImage(const System::AnsiString Msg) : Classes::EFilerError(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EInvalidImage(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Classes::EFilerError(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EInvalidImage(int Ident, Extended Dummy) : Classes::EFilerError(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EInvalidImage(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Classes::EFilerError(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EInvalidImage(const System::AnsiString Msg, int AHelpContext)
- : Classes::EFilerError(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EInvalidImage(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Classes::EFilerError(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EInvalidImage(int Ident, int AHelpContext) : Classes::EFilerError(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EInvalidImage(int Ident, const System::TVarRec * Args,
- const int Args_Size, int AHelpContext) : Classes::EFilerError(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EInvalidImage(void) { }
-
- };
-
- class DELPHICLASS EResNotFound;
- class PASCALIMPLEMENTATION EResNotFound : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EResNotFound(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EResNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EResNotFound(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EResNotFound(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EResNotFound(const System::AnsiString Msg, int AHelpContext) :
- Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EResNotFound(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EResNotFound(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EResNotFound(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EResNotFound(void) { }
-
- };
-
- class DELPHICLASS EListError;
- class PASCALIMPLEMENTATION EListError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EListError(const System::AnsiString Msg) : Sysutils::Exception(Msg
- ) { }
- /* Exception.CreateFmt */ __fastcall EListError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EListError(int Ident, Extended Dummy) : Sysutils::Exception(Ident
- , Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EListError(int Ident, const System::TVarRec * Args, const int
- Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EListError(const System::AnsiString Msg, int AHelpContext) :
- Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EListError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EListError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EListError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EListError(void) { }
-
- };
-
- class DELPHICLASS EBitsError;
- class PASCALIMPLEMENTATION EBitsError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EBitsError(const System::AnsiString Msg) : Sysutils::Exception(Msg
- ) { }
- /* Exception.CreateFmt */ __fastcall EBitsError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EBitsError(int Ident, Extended Dummy) : Sysutils::Exception(Ident
- , Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EBitsError(int Ident, const System::TVarRec * Args, const int
- Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EBitsError(const System::AnsiString Msg, int AHelpContext) :
- Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EBitsError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EBitsError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EBitsError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EBitsError(void) { }
-
- };
-
- class DELPHICLASS EStringListError;
- class PASCALIMPLEMENTATION EStringListError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EStringListError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EStringListError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EStringListError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EStringListError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EStringListError(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EStringListError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EStringListError(int Ident, int AHelpContext) : Sysutils::
- Exception(Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EStringListError(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EStringListError(void) { }
-
- };
-
- class DELPHICLASS EComponentError;
- class PASCALIMPLEMENTATION EComponentError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EComponentError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EComponentError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EComponentError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EComponentError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EComponentError(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EComponentError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EComponentError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EComponentError(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EComponentError(void) { }
-
- };
-
- class DELPHICLASS EParserError;
- class PASCALIMPLEMENTATION EParserError : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EParserError(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EParserError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EParserError(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EParserError(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EParserError(const System::AnsiString Msg, int AHelpContext) :
- Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EParserError(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EParserError(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EParserError(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EParserError(void) { }
-
- };
-
- class DELPHICLASS EOutOfResources;
- class PASCALIMPLEMENTATION EOutOfResources : public Sysutils::EOutOfMemory
- {
- typedef Sysutils::EOutOfMemory inherited;
-
- public:
- /* EOutOfMemory.Destroy */ __fastcall virtual ~EOutOfResources(void) { }
-
- public:
- /* Exception.Create */ __fastcall EOutOfResources(const System::AnsiString Msg) : Sysutils::EOutOfMemory(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EOutOfResources(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::EOutOfMemory(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EOutOfResources(int Ident, Extended Dummy) : Sysutils::EOutOfMemory(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EOutOfResources(int Ident, const System::TVarRec * Args, const
- int Args_Size) : Sysutils::EOutOfMemory(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EOutOfResources(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::EOutOfMemory(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EOutOfResources(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::EOutOfMemory(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EOutOfResources(int Ident, int AHelpContext) : Sysutils::EOutOfMemory(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EOutOfResources(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Sysutils::EOutOfMemory(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- };
-
- class DELPHICLASS EInvalidOperation;
- class PASCALIMPLEMENTATION EInvalidOperation : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EInvalidOperation(const System::AnsiString Msg) : Sysutils::Exception(
- Msg) { }
- /* Exception.CreateFmt */ __fastcall EInvalidOperation(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EInvalidOperation(int Ident, Extended Dummy) : Sysutils::Exception(
- Ident, Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EInvalidOperation(int Ident, const System::TVarRec * Args,
- const int Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EInvalidOperation(const System::AnsiString Msg, int AHelpContext
- ) : Sysutils::Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EInvalidOperation(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EInvalidOperation(int Ident, int AHelpContext) : Sysutils::
- Exception(Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EInvalidOperation(int Ident, const System::TVarRec * Args
- , const int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext
- ) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EInvalidOperation(void) { }
-
- };
-
- typedef void *TPointerList[134217727];
-
- typedef TPointerList *PPointerList;
-
- typedef int __fastcall (*TListSortCompare)(void * Item1, void * Item2);
-
- class DELPHICLASS TList;
- class PASCALIMPLEMENTATION TList : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TPointerList *FList;
- int FCount;
- int FCapacity;
-
- protected:
- void * __fastcall Get(int Index);
- virtual void __fastcall Grow(void);
- void __fastcall Put(int Index, void * Item);
- void __fastcall SetCapacity(int NewCapacity);
- void __fastcall SetCount(int NewCount);
-
- public:
- __fastcall virtual ~TList(void);
- int __fastcall Add(void * Item);
- DYNAMIC void __fastcall Clear(void);
- void __fastcall Delete(int Index);
- /* virtual class method */ virtual void __fastcall Error(const System::AnsiString Msg, int Data) { Error(__classid(TList)
- , Msg, Data); }
- /* class method */ static void __fastcall Error(System::TMetaClass* vmt, const System::AnsiString
- Msg, int Data);
- void __fastcall Exchange(int Index1, int Index2);
- TList* __fastcall Expand(void);
- void * __fastcall First(void);
- int __fastcall IndexOf(void * Item);
- void __fastcall Insert(int Index, void * Item);
- void * __fastcall Last(void);
- void __fastcall Move(int CurIndex, int NewIndex);
- int __fastcall Remove(void * Item);
- void __fastcall Pack(void);
- void __fastcall Sort(TListSortCompare Compare);
- __property int Capacity = {read=FCapacity, write=SetCapacity, nodefault};
- __property int Count = {read=FCount, write=SetCount, nodefault};
- __property void * Items[int Index] = {read=Get, write=Put/*, default*/};
- __property PPointerList List = {read=FList};
- public:
- /* TObject.Create */ __fastcall TList(void) : System::TObject() { }
-
- };
-
- class DELPHICLASS TThreadList;
- class PASCALIMPLEMENTATION TThreadList : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TList* FList;
- _RTL_CRITICAL_SECTION FLock;
-
- public:
- __fastcall TThreadList(void);
- __fastcall virtual ~TThreadList(void);
- void __fastcall Add(void * Item);
- void __fastcall Clear(void);
- TList* __fastcall LockList(void);
- void __fastcall Remove(void * Item);
- void __fastcall UnlockList(void);
- };
-
- __interface IInterfaceList;
- typedef System::DelphiInterface<IInterfaceList> _di_IInterfaceList;
- __interface IInterfaceList : public IUnknown /* __guid="{E009AAE0-F90F-11D0-8415-00A0248E4C5A}" */
- {
-
- public:
- virtual _di_IUnknown __fastcall Get(int Index) = 0;
- virtual int __fastcall GetCapacity(void) = 0;
- virtual int __fastcall GetCount(void) = 0;
- virtual void __fastcall Put(int Index, _di_IUnknown Item) = 0;
- virtual void __fastcall SetCapacity(int NewCapacity) = 0;
- virtual void __fastcall SetCount(int NewCount) = 0;
- virtual void __fastcall Clear(void) = 0;
- virtual void __fastcall Delete(int Index) = 0;
- virtual _di_IUnknown __fastcall First(void) = 0;
- virtual int __fastcall IndexOf(_di_IUnknown Item) = 0;
- virtual int __fastcall Add(_di_IUnknown Item) = 0;
- virtual void __fastcall Insert(int Index, _di_IUnknown Item) = 0;
- virtual _di_IUnknown __fastcall Last(void) = 0;
- virtual int __fastcall Remove(_di_IUnknown Item) = 0;
- __property int Capacity = {read=GetCapacity, write=SetCapacity};
- __property int Count = {read=GetCount, write=SetCount};
- __property _di_IUnknown Items[int Index] = {read=Get, write=Put/*, default*/};
- };
-
- class DELPHICLASS TInterfaceList;
- class PASCALIMPLEMENTATION TInterfaceList : public System::TInterfacedObject
- {
- typedef System::TInterfacedObject inherited;
-
- private:
- void *__IInterfaceList; /* Classes::IInterfaceList */
-
- public:
- operator IInterfaceList*(void) { return (IInterfaceList*)&__IInterfaceList; }
-
- private:
- TList* FList;
-
- protected:
- _di_IUnknown __fastcall Get(int Index);
- int __fastcall GetCapacity(void);
- int __fastcall GetCount(void);
- void __fastcall Put(int Index, _di_IUnknown Item);
- void __fastcall SetCapacity(int NewCapacity);
- void __fastcall SetCount(int NewCount);
-
- public:
- __fastcall TInterfaceList(void);
- __fastcall virtual ~TInterfaceList(void);
- void __fastcall Clear(void);
- void __fastcall Delete(int Index);
- TInterfaceList* __fastcall Expand(void);
- _di_IUnknown __fastcall First(void);
- int __fastcall IndexOf(_di_IUnknown Item);
- int __fastcall Add(_di_IUnknown Item);
- void __fastcall Insert(int Index, _di_IUnknown Item);
- _di_IUnknown __fastcall Last(void);
- int __fastcall Remove(_di_IUnknown Item);
- __property int Capacity = {read=GetCapacity, write=SetCapacity, nodefault};
- __property int Count = {read=GetCount, write=SetCount, nodefault};
- __property _di_IUnknown Items[int Index] = {read=Get, write=Put/*, default*/};
- };
-
- class DELPHICLASS TBits;
- class PASCALIMPLEMENTATION TBits : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- int FSize;
- void *FBits;
- void __fastcall Error(void);
- void __fastcall SetSize(int Value);
- void __fastcall SetBit(int Index, bool Value);
- bool __fastcall GetBit(int Index);
-
- public:
- __fastcall virtual ~TBits(void);
- int __fastcall OpenBit(void);
- __property bool Bits[int Index] = {read=GetBit, write=SetBit/*, default*/};
- __property int Size = {read=FSize, write=SetSize, nodefault};
- public:
- /* TObject.Create */ __fastcall TBits(void) : System::TObject() { }
-
- };
-
- class DELPHICLASS TPersistent;
- class DELPHICLASS TFiler;
- class PASCALIMPLEMENTATION TPersistent : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- void __fastcall AssignError(TPersistent* Source);
-
- protected:
- virtual void __fastcall AssignTo(TPersistent* Dest);
- virtual void __fastcall DefineProperties(TFiler* Filer);
- DYNAMIC TPersistent* __fastcall GetOwner(void);
-
- public:
- __fastcall virtual ~TPersistent(void);
- virtual void __fastcall Assign(TPersistent* Source);
- DYNAMIC System::AnsiString __fastcall GetNamePath(void);
- public:
- /* TObject.Create */ __fastcall TPersistent(void) : System::TObject() { }
-
- };
-
- typedef System::TMetaClass*TPersistentClass;
-
- class DELPHICLASS TCollectionItem;
- class DELPHICLASS TCollection;
- typedef System::TMetaClass*TCollectionItemClass;
-
- class PASCALIMPLEMENTATION TCollection : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- System::TMetaClass*FItemClass;
- TList* FItems;
- int FUpdateCount;
- int FNextID;
- System::AnsiString FPropName;
- int __fastcall GetCount(void);
- System::AnsiString __fastcall GetPropName(void);
- void __fastcall InsertItem(TCollectionItem* Item);
- void __fastcall RemoveItem(TCollectionItem* Item);
-
- protected:
- DYNAMIC int __fastcall GetAttrCount(void);
- DYNAMIC System::AnsiString __fastcall GetAttr(int Index);
- DYNAMIC System::AnsiString __fastcall GetItemAttr(int Index, int ItemIndex);
- DYNAMIC System::AnsiString __fastcall GetNamePath(void);
- void __fastcall Changed(void);
- TCollectionItem* __fastcall GetItem(int Index);
- void __fastcall SetItem(int Index, TCollectionItem* Value);
- virtual void __fastcall SetItemName(TCollectionItem* Item);
- virtual void __fastcall Update(TCollectionItem* Item);
- __property System::AnsiString PropName = {read=GetPropName, write=FPropName};
-
- public:
- __fastcall TCollection(System::TMetaClass* ItemClass);
- __fastcall virtual ~TCollection(void);
- TCollectionItem* __fastcall Add(void);
- virtual void __fastcall Assign(TPersistent* Source);
- void __fastcall BeginUpdate(void);
- void __fastcall Clear(void);
- void __fastcall EndUpdate(void);
- TCollectionItem* __fastcall FindItemID(int ID);
- TCollectionItem* __fastcall Insert(int Index);
- __property int Count = {read=GetCount, nodefault};
- __property System::TMetaClass* ItemClass = {read=FItemClass};
- __property TCollectionItem* Items[int Index] = {read=GetItem, write=SetItem};
- };
-
- class PASCALIMPLEMENTATION TCollectionItem : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- TCollection* FCollection;
- int FID;
- int __fastcall GetIndex(void);
- void __fastcall SetCollection(TCollection* Value);
-
- protected:
- void __fastcall Changed(bool AllItems);
- DYNAMIC System::AnsiString __fastcall GetNamePath(void);
- DYNAMIC TPersistent* __fastcall GetOwner(void);
- virtual System::AnsiString __fastcall GetDisplayName(void);
- virtual void __fastcall SetIndex(int Value);
- virtual void __fastcall SetDisplayName(const System::AnsiString Value);
-
- public:
- __fastcall virtual TCollectionItem(TCollection* Collection);
- __fastcall virtual ~TCollectionItem(void);
- __property TCollection* Collection = {read=FCollection, write=SetCollection};
- __property int ID = {read=FID, nodefault};
- __property int Index = {read=GetIndex, write=SetIndex, nodefault};
- __property System::AnsiString DisplayName = {read=GetDisplayName, write=SetDisplayName};
- };
-
- class DELPHICLASS TOwnedCollection;
- class PASCALIMPLEMENTATION TOwnedCollection : public Classes::TCollection
- {
- typedef Classes::TCollection inherited;
-
- private:
- TPersistent* FOwner;
-
- protected:
- DYNAMIC TPersistent* __fastcall GetOwner(void);
-
- public:
- __fastcall TOwnedCollection(TPersistent* AOwner, System::TMetaClass* ItemClass);
- public:
- /* TCollection.Destroy */ __fastcall virtual ~TOwnedCollection(void) { }
-
- };
-
- class DELPHICLASS TStrings;
- typedef void __fastcall (__closure *TGetModuleProc)(const System::AnsiString FileName, const System::AnsiString
- UnitName, const System::AnsiString FormName, const System::AnsiString DesignClass, TStrings* CoClasses
- );
-
- __interface IStringsAdapter;
- typedef System::DelphiInterface<IStringsAdapter> _di_IStringsAdapter;
- __interface IStringsAdapter : public IUnknown /* __guid="{739C2F34-52EC-11D0-9EA6-0020AF3D82DA}" */
- {
-
- public:
- virtual void __fastcall ReferenceStrings(TStrings* S) = 0;
- virtual void __fastcall ReleaseStrings(void) = 0;
- };
-
- class DELPHICLASS TReader;
- class DELPHICLASS TWriter;
- class DELPHICLASS TStream;
- class PASCALIMPLEMENTATION TStrings : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- int FUpdateCount;
- _di_IStringsAdapter FAdapter;
- System::AnsiString __fastcall GetCommaText(void);
- System::AnsiString __fastcall GetName(int Index);
- System::AnsiString __fastcall GetValue(const System::AnsiString Name);
- void __fastcall ReadData(TReader* Reader);
- void __fastcall SetCommaText(const System::AnsiString Value);
- void __fastcall SetStringsAdapter(const _di_IStringsAdapter Value);
- void __fastcall SetValue(const System::AnsiString Name, const System::AnsiString Value);
- void __fastcall WriteData(TWriter* Writer);
-
- protected:
- virtual void __fastcall DefineProperties(TFiler* Filer);
- void __fastcall Error(const System::AnsiString Msg, int Data);
- virtual System::AnsiString __fastcall Get(int Index) = 0;
- virtual int __fastcall GetCapacity(void);
- virtual int __fastcall GetCount(void) = 0;
- virtual System::TObject* __fastcall GetObject(int Index);
- virtual System::AnsiString __fastcall GetTextStr(void);
- virtual void __fastcall Put(int Index, const System::AnsiString S);
- virtual void __fastcall PutObject(int Index, System::TObject* AObject);
- virtual void __fastcall SetCapacity(int NewCapacity);
- virtual void __fastcall SetTextStr(const System::AnsiString Value);
- virtual void __fastcall SetUpdateState(bool Updating);
-
- public:
- __fastcall virtual ~TStrings(void);
- virtual int __fastcall Add(const System::AnsiString S);
- virtual int __fastcall AddObject(const System::AnsiString S, System::TObject* AObject);
- void __fastcall Append(const System::AnsiString S);
- virtual void __fastcall AddStrings(TStrings* Strings);
- virtual void __fastcall Assign(TPersistent* Source);
- void __fastcall BeginUpdate(void);
- virtual void __fastcall Clear(void) = 0;
- virtual void __fastcall Delete(int Index) = 0;
- void __fastcall EndUpdate(void);
- bool __fastcall Equals(TStrings* Strings);
- virtual void __fastcall Exchange(int Index1, int Index2);
- virtual char * __fastcall GetText(void);
- virtual int __fastcall IndexOf(const System::AnsiString S);
- int __fastcall IndexOfName(const System::AnsiString Name);
- int __fastcall IndexOfObject(System::TObject* AObject);
- virtual void __fastcall Insert(int Index, const System::AnsiString S) = 0;
- void __fastcall InsertObject(int Index, const System::AnsiString S, System::TObject* AObject);
- virtual void __fastcall LoadFromFile(const System::AnsiString FileName);
- virtual void __fastcall LoadFromStream(TStream* Stream);
- virtual void __fastcall Move(int CurIndex, int NewIndex);
- virtual void __fastcall SaveToFile(const System::AnsiString FileName);
- virtual void __fastcall SaveToStream(TStream* Stream);
- virtual void __fastcall SetText(char * Text);
- __property int Capacity = {read=GetCapacity, write=SetCapacity, nodefault};
- __property System::AnsiString CommaText = {read=GetCommaText, write=SetCommaText};
- __property int Count = {read=GetCount, nodefault};
- __property System::AnsiString Names[int Index] = {read=GetName};
- __property System::TObject* Objects[int Index] = {read=GetObject, write=PutObject};
- __property System::AnsiString Values[System::AnsiString Name] = {read=GetValue, write=SetValue};
- __property System::AnsiString Strings[int Index] = {read=Get, write=Put/*, default*/};
- __property System::AnsiString Text = {read=GetTextStr, write=SetTextStr};
- __property _di_IStringsAdapter StringsAdapter = {read=FAdapter, write=SetStringsAdapter};
- public:
- /* TObject.Create */ __fastcall TStrings(void) : Classes::TPersistent() { }
-
- };
-
- enum TDuplicates { dupIgnore, dupAccept, dupError };
-
- struct TStringItem;
- typedef TStringItem *PStringItem;
-
- struct TStringItem
- {
- System::AnsiString FString;
- System::TObject* FObject;
- } ;
-
- typedef TStringItem TStringItemList[134217728];
-
- typedef TStringItemList *PStringItemList;
-
- class DELPHICLASS TStringList;
- class PASCALIMPLEMENTATION TStringList : public Classes::TStrings
- {
- typedef Classes::TStrings inherited;
-
- private:
- TStringItemList *FList;
- int FCount;
- int FCapacity;
- bool FSorted;
- TDuplicates FDuplicates;
- TNotifyEvent FOnChange;
- TNotifyEvent FOnChanging;
- void __fastcall ExchangeItems(int Index1, int Index2);
- void __fastcall Grow(void);
- void __fastcall QuickSort(int L, int R);
- void __fastcall InsertItem(int Index, const System::AnsiString S);
- void __fastcall SetSorted(bool Value);
-
- protected:
- virtual void __fastcall Changed(void);
- virtual void __fastcall Changing(void);
- virtual System::AnsiString __fastcall Get(int Index);
- virtual int __fastcall GetCapacity(void);
- virtual int __fastcall GetCount(void);
- virtual System::TObject* __fastcall GetObject(int Index);
- virtual void __fastcall Put(int Index, const System::AnsiString S);
- virtual void __fastcall PutObject(int Index, System::TObject* AObject);
- virtual void __fastcall SetCapacity(int NewCapacity);
- virtual void __fastcall SetUpdateState(bool Updating);
-
- public:
- __fastcall virtual ~TStringList(void);
- virtual int __fastcall Add(const System::AnsiString S);
- virtual void __fastcall Clear(void);
- virtual void __fastcall Delete(int Index);
- virtual void __fastcall Exchange(int Index1, int Index2);
- virtual bool __fastcall Find(const System::AnsiString S, int &Index);
- virtual int __fastcall IndexOf(const System::AnsiString S);
- virtual void __fastcall Insert(int Index, const System::AnsiString S);
- virtual void __fastcall Sort(void);
- __property TDuplicates Duplicates = {read=FDuplicates, write=FDuplicates, nodefault};
- __property bool Sorted = {read=FSorted, write=SetSorted, nodefault};
- __property TNotifyEvent OnChange = {read=FOnChange, write=FOnChange};
- __property TNotifyEvent OnChanging = {read=FOnChanging, write=FOnChanging};
- public:
- /* TObject.Create */ __fastcall TStringList(void) : Classes::TStrings() { }
-
- };
-
- class DELPHICLASS TComponent;
- class PASCALIMPLEMENTATION TStream : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- int __fastcall GetPosition(void);
- void __fastcall SetPosition(int Pos);
- int __fastcall GetSize(void);
-
- protected:
- virtual void __fastcall SetSize(int NewSize);
-
- public:
- virtual int __fastcall Read(void *Buffer, int Count) = 0;
- virtual int __fastcall Write(const void *Buffer, int Count) = 0;
- virtual int __fastcall Seek(int Offset, Word Origin) = 0;
- void __fastcall ReadBuffer(void *Buffer, int Count);
- void __fastcall WriteBuffer(const void *Buffer, int Count);
- int __fastcall CopyFrom(TStream* Source, int Count);
- TComponent* __fastcall ReadComponent(TComponent* Instance);
- TComponent* __fastcall ReadComponentRes(TComponent* Instance);
- void __fastcall WriteComponent(TComponent* Instance);
- void __fastcall WriteComponentRes(const System::AnsiString ResName, TComponent* Instance);
- void __fastcall WriteDescendent(TComponent* Instance, TComponent* Ancestor);
- void __fastcall WriteDescendentRes(const System::AnsiString ResName, TComponent* Instance, TComponent*
- Ancestor);
- void __fastcall ReadResHeader(void);
- __property int Position = {read=GetPosition, write=SetPosition, nodefault};
- __property int Size = {read=GetSize, write=SetSize, nodefault};
- public:
- /* TObject.Create */ __fastcall TStream(void) : System::TObject() { }
- /* TObject.Destroy */ __fastcall virtual ~TStream(void) { }
-
- };
-
- class DELPHICLASS THandleStream;
- class PASCALIMPLEMENTATION THandleStream : public Classes::TStream
- {
- typedef Classes::TStream inherited;
-
- private:
- int FHandle;
-
- protected:
- virtual void __fastcall SetSize(int NewSize);
-
- public:
- __fastcall THandleStream(int AHandle);
- virtual int __fastcall Read(void *Buffer, int Count);
- virtual int __fastcall Write(const void *Buffer, int Count);
- virtual int __fastcall Seek(int Offset, Word Origin);
- __property int Handle = {read=FHandle, nodefault};
- public:
- /* TObject.Destroy */ __fastcall virtual ~THandleStream(void) { }
-
- };
-
- class DELPHICLASS TFileStream;
- class PASCALIMPLEMENTATION TFileStream : public Classes::THandleStream
- {
- typedef Classes::THandleStream inherited;
-
- public:
- __fastcall TFileStream(const System::AnsiString FileName, Word Mode);
- __fastcall virtual ~TFileStream(void);
- };
-
- class DELPHICLASS TCustomMemoryStream;
- class PASCALIMPLEMENTATION TCustomMemoryStream : public Classes::TStream
- {
- typedef Classes::TStream inherited;
-
- private:
- void *FMemory;
- int FSize;
- int FPosition;
-
- protected:
- void __fastcall SetPointer(void * Ptr, int Size);
-
- public:
- virtual int __fastcall Read(void *Buffer, int Count);
- virtual int __fastcall Seek(int Offset, Word Origin);
- void __fastcall SaveToStream(TStream* Stream);
- void __fastcall SaveToFile(const System::AnsiString FileName);
- __property void * Memory = {read=FMemory};
- public:
- /* TObject.Create */ __fastcall TCustomMemoryStream(void) : Classes::TStream() { }
- /* TObject.Destroy */ __fastcall virtual ~TCustomMemoryStream(void) { }
-
- };
-
- class DELPHICLASS TMemoryStream;
- class PASCALIMPLEMENTATION TMemoryStream : public Classes::TCustomMemoryStream
- {
- typedef Classes::TCustomMemoryStream inherited;
-
- private:
- int FCapacity;
- void __fastcall SetCapacity(int NewCapacity);
-
- protected:
- virtual void * __fastcall Realloc(int &NewCapacity);
- __property int Capacity = {read=FCapacity, write=SetCapacity, nodefault};
-
- public:
- __fastcall virtual ~TMemoryStream(void);
- void __fastcall Clear(void);
- void __fastcall LoadFromStream(TStream* Stream);
- void __fastcall LoadFromFile(const System::AnsiString FileName);
- virtual void __fastcall SetSize(int NewSize);
- virtual int __fastcall Write(const void *Buffer, int Count);
- public:
- /* TObject.Create */ __fastcall TMemoryStream(void) : Classes::TCustomMemoryStream() { }
-
- };
-
- class DELPHICLASS TStringStream;
- class PASCALIMPLEMENTATION TStringStream : public Classes::TStream
- {
- typedef Classes::TStream inherited;
-
- private:
- System::AnsiString FDataString;
- int FPosition;
-
- protected:
- virtual void __fastcall SetSize(int NewSize);
-
- public:
- __fastcall TStringStream(const System::AnsiString AString);
- virtual int __fastcall Read(void *Buffer, int Count);
- System::AnsiString __fastcall ReadString(int Count);
- virtual int __fastcall Seek(int Offset, Word Origin);
- virtual int __fastcall Write(const void *Buffer, int Count);
- void __fastcall WriteString(const System::AnsiString AString);
- __property System::AnsiString DataString = {read=FDataString};
- public:
- /* TObject.Destroy */ __fastcall virtual ~TStringStream(void) { }
-
- };
-
- class DELPHICLASS TResourceStream;
- class PASCALIMPLEMENTATION TResourceStream : public Classes::TCustomMemoryStream
- {
- typedef Classes::TCustomMemoryStream inherited;
-
- private:
- HRSRC HResInfo;
- int HGlobal;
- void __fastcall Initialize(int Instance, char * Name, char * ResType);
-
- public:
- __fastcall TResourceStream(int Instance, const System::AnsiString ResName, char * ResType);
- __fastcall TResourceStream(int Instance, int ResID, char * ResType);
- __fastcall virtual ~TResourceStream(void);
- virtual int __fastcall Write(const void *Buffer, int Count);
- };
-
- class DELPHICLASS TStreamAdapter;
- class PASCALIMPLEMENTATION TStreamAdapter : public System::TInterfacedObject
- {
- typedef System::TInterfacedObject inherited;
-
- private:
- void *__IStream; /* IStream */
-
- public:
- operator IStream*(void) { return (IStream*)&__IStream; }
-
- private:
- TStream* FStream;
-
- public:
- __fastcall TStreamAdapter(TStream* Stream);
- HRESULT __stdcall Read(void * pv, int cb, Windows::PLongint pcbRead);
- HRESULT __stdcall Write(void * pv, int cb, Windows::PLongint pcbWritten);
- HRESULT __stdcall Seek(System::Comp dlibMove, int dwOrigin, /* out */ System::Comp &libNewPosition)
- ;
- HRESULT __stdcall SetSize(System::Comp libNewSize);
- HRESULT __stdcall CopyTo(_di_IStream stm, System::Comp cb, /* out */ System::Comp &cbRead, /* out */
- System::Comp &cbWritten);
- HRESULT __stdcall Commit(int grfCommitFlags);
- HRESULT __stdcall Revert(void);
- HRESULT __stdcall LockRegion(System::Comp libOffset, System::Comp cb, int dwLockType);
- HRESULT __stdcall UnlockRegion(System::Comp libOffset, System::Comp cb, int dwLockType);
- HRESULT __stdcall Stat(/* out */ tagSTATSTG &statstg, int grfStatFlag);
- HRESULT __stdcall Clone(/* out */ _di_IStream &stm);
- public:
- /* TInterfacedObject.Destroy */ __fastcall virtual ~TStreamAdapter(void) { }
-
- };
-
- enum TValueType { vaNull, vaList, vaInt8, vaInt16, vaInt32, vaExtended, vaString, vaIdent, vaFalse,
- vaTrue, vaBinary, vaSet, vaLString, vaNil, vaCollection };
-
- enum TFilerFlag { ffInherited, ffChildPos };
-
- typedef Set<TFilerFlag, ffInherited, ffChildPos> TFilerFlags;
-
- typedef void __fastcall (__closure *TReaderProc)(TReader* Reader);
-
- typedef void __fastcall (__closure *TWriterProc)(TWriter* Writer);
-
- typedef void __fastcall (__closure *TStreamProc)(TStream* Stream);
-
- class PASCALIMPLEMENTATION TFiler : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TStream* FStream;
- void *FBuffer;
- int FBufSize;
- int FBufPos;
- int FBufEnd;
- TComponent* FRoot;
- TPersistent* FAncestor;
- bool FIgnoreChildren;
-
- public:
- __fastcall TFiler(TStream* Stream, int BufSize);
- __fastcall virtual ~TFiler(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, bool HasData) = 0;
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, bool HasData) = 0;
- virtual void __fastcall FlushBuffer(void) = 0;
- __property TComponent* Root = {read=FRoot, write=FRoot};
- __property TPersistent* Ancestor = {read=FAncestor, write=FAncestor};
- __property bool IgnoreChildren = {read=FIgnoreChildren, write=FIgnoreChildren, nodefault};
- };
-
- typedef void __fastcall (__closure *TFindMethodEvent)(TReader* Reader, const System::AnsiString MethodName
- , void * &Address, bool &Error);
-
- typedef void __fastcall (__closure *TSetNameEvent)(TReader* Reader, TComponent* Component, System::AnsiString
- &Name);
-
- typedef void __fastcall (__closure *TReferenceNameEvent)(TReader* Reader, System::AnsiString &Name);
-
-
- typedef void __fastcall (__closure *TAncestorNotFoundEvent)(TReader* Reader, const System::AnsiString
- ComponentName, System::TMetaClass* ComponentClass, TComponent* &Component);
-
- typedef void __fastcall (__closure *TReadComponentsProc)(TComponent* Component);
-
- typedef void __fastcall (__closure *TReaderError)(TReader* Reader, const System::AnsiString Message,
- bool &Handled);
-
- class PASCALIMPLEMENTATION TReader : public Classes::TFiler
- {
- typedef Classes::TFiler inherited;
-
- private:
- TComponent* FOwner;
- TComponent* FParent;
- TList* FFixups;
- TList* FLoaded;
- TFindMethodEvent FOnFindMethod;
- TSetNameEvent FOnSetName;
- TReferenceNameEvent FOnReferenceName;
- TAncestorNotFoundEvent FOnAncestorNotFound;
- TReaderError FOnError;
- bool FCanHandleExcepts;
- System::AnsiString FPropName;
- void __fastcall CheckValue(TValueType Value);
- void __fastcall DoFixupReferences(void);
- void __fastcall FreeFixups(void);
- int __fastcall GetPosition(void);
- void __fastcall PropertyError(void);
- void __fastcall ReadBuffer(void);
- void __fastcall ReadData(TComponent* Instance);
- void __fastcall ReadDataInner(TComponent* Instance);
- void __fastcall ReadProperty(TPersistent* AInstance);
- void __fastcall ReadPropValue(TPersistent* Instance, void * PropInfo);
- int __fastcall ReadSet(void * SetType);
- void __fastcall SetPosition(int Value);
- void __fastcall SkipSetBody(void);
- void __fastcall SkipValue(void);
- void __fastcall SkipProperty(void);
- void __fastcall SkipComponent(bool SkipHeader);
-
- protected:
- virtual bool __fastcall Error(const System::AnsiString Message);
- virtual void * __fastcall FindMethod(TComponent* Root, const System::AnsiString MethodName);
- virtual void __fastcall SetName(TComponent* Component, System::AnsiString &Name);
- virtual void __fastcall ReferenceName(System::AnsiString &Name);
- virtual TComponent* __fastcall FindAncestorComponent(const System::AnsiString Name, System::TMetaClass*
- ComponentClass);
-
- public:
- __fastcall virtual ~TReader(void);
- void __fastcall BeginReferences(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, bool HasData);
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, bool HasData);
- bool __fastcall EndOfList(void);
- void __fastcall EndReferences(void);
- void __fastcall FixupReferences(void);
- virtual void __fastcall FlushBuffer(void);
- TValueType __fastcall NextValue(void);
- void __fastcall Read(void *Buf, int Count);
- bool __fastcall ReadBoolean(void);
- char __fastcall ReadChar(void);
- void __fastcall ReadCollection(TCollection* Collection);
- TComponent* __fastcall ReadComponent(TComponent* Component);
- void __fastcall ReadComponents(TComponent* AOwner, TComponent* AParent, TReadComponentsProc Proc);
- Extended __fastcall ReadFloat(void);
- System::AnsiString __fastcall ReadIdent(void);
- int __fastcall ReadInteger(void);
- void __fastcall ReadListBegin(void);
- void __fastcall ReadListEnd(void);
- void __fastcall ReadPrefix(TFilerFlags &Flags, int &AChildPos);
- TComponent* __fastcall ReadRootComponent(TComponent* Root);
- void __fastcall ReadSignature(void);
- System::AnsiString __fastcall ReadStr(void);
- System::AnsiString __fastcall ReadString(void);
- TValueType __fastcall ReadValue(void);
- void __fastcall CopyValue(TWriter* Writer);
- __property TComponent* Owner = {read=FOwner, write=FOwner};
- __property TComponent* Parent = {read=FParent, write=FParent};
- __property int Position = {read=GetPosition, write=SetPosition, nodefault};
- __property TReaderError OnError = {read=FOnError, write=FOnError};
- __property TFindMethodEvent OnFindMethod = {read=FOnFindMethod, write=FOnFindMethod};
- __property TSetNameEvent OnSetName = {read=FOnSetName, write=FOnSetName};
- __property TReferenceNameEvent OnReferenceName = {read=FOnReferenceName, write=FOnReferenceName};
- __property TAncestorNotFoundEvent OnAncestorNotFound = {read=FOnAncestorNotFound, write=FOnAncestorNotFound
- };
- public:
- /* TFiler.Create */ __fastcall TReader(TStream* Stream, int BufSize) : Classes::TFiler(Stream, BufSize
- ) { }
-
- };
-
- class PASCALIMPLEMENTATION TWriter : public Classes::TFiler
- {
- typedef Classes::TFiler inherited;
-
- private:
- TComponent* FRootAncestor;
- System::AnsiString FPropPath;
- TList* FAncestorList;
- int FAncestorPos;
- int FChildPos;
- void __fastcall AddAncestor(TComponent* Component);
- int __fastcall GetPosition(void);
- void __fastcall SetPosition(int Value);
- void __fastcall WriteBuffer(void);
- virtual void __fastcall WriteData(TComponent* Instance);
- void __fastcall WriteProperty(TPersistent* Instance, void * PropInfo);
- void __fastcall WriteProperties(TPersistent* Instance);
- void __fastcall WritePropName(const System::AnsiString PropName);
-
- protected:
- void __fastcall WriteBinary(TStreamProc WriteData);
- void __fastcall WritePrefix(TFilerFlags Flags, int AChildPos);
- void __fastcall WriteValue(TValueType Value);
-
- public:
- __fastcall virtual ~TWriter(void);
- virtual void __fastcall DefineProperty(const System::AnsiString Name, TReaderProc ReadData, TWriterProc
- WriteData, bool HasData);
- virtual void __fastcall DefineBinaryProperty(const System::AnsiString Name, TStreamProc ReadData, TStreamProc
- WriteData, bool HasData);
- virtual void __fastcall FlushBuffer(void);
- void __fastcall Write(const void *Buf, int Count);
- void __fastcall WriteBoolean(bool Value);
- void __fastcall WriteCollection(TCollection* Value);
- void __fastcall WriteComponent(TComponent* Component);
- void __fastcall WriteChar(char Value);
- void __fastcall WriteDescendent(TComponent* Root, TComponent* AAncestor);
- void __fastcall WriteFloat(Extended Value);
- void __fastcall WriteIdent(const System::AnsiString Ident);
- void __fastcall WriteInteger(int Value);
- void __fastcall WriteListBegin(void);
- void __fastcall WriteListEnd(void);
- void __fastcall WriteRootComponent(TComponent* Root);
- void __fastcall WriteSignature(void);
- void __fastcall WriteStr(const System::AnsiString Value);
- void __fastcall WriteString(const System::AnsiString Value);
- __property int Position = {read=GetPosition, write=SetPosition, nodefault};
- __property TComponent* RootAncestor = {read=FRootAncestor, write=FRootAncestor};
- public:
- /* TFiler.Create */ __fastcall TWriter(TStream* Stream, int BufSize) : Classes::TFiler(Stream, BufSize
- ) { }
-
- };
-
- class DELPHICLASS TParser;
- class PASCALIMPLEMENTATION TParser : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- TStream* FStream;
- int FOrigin;
- char *FBuffer;
- char *FBufPtr;
- char *FBufEnd;
- char *FSourcePtr;
- char *FSourceEnd;
- char *FTokenPtr;
- char *FStringPtr;
- int FSourceLine;
- char FSaveChar;
- char FToken;
- void __fastcall ReadBuffer(void);
- void __fastcall SkipBlanks(void);
-
- public:
- __fastcall TParser(TStream* Stream);
- __fastcall virtual ~TParser(void);
- void __fastcall CheckToken(char T);
- void __fastcall CheckTokenSymbol(const System::AnsiString S);
- void __fastcall Error(const System::AnsiString Ident);
- void __fastcall ErrorFmt(const System::AnsiString Ident, const System::TVarRec * Args, const int Args_Size
- );
- void __fastcall ErrorStr(const System::AnsiString Message);
- void __fastcall HexToBinary(TStream* Stream);
- char __fastcall NextToken(void);
- int __fastcall SourcePos(void);
- System::AnsiString __fastcall TokenComponentIdent(void);
- Extended __fastcall TokenFloat(void);
- int __fastcall TokenInt(void);
- System::AnsiString __fastcall TokenString(void);
- bool __fastcall TokenSymbolIs(const System::AnsiString S);
- __property int SourceLine = {read=FSourceLine, nodefault};
- __property char Token = {read=FToken, nodefault};
- };
-
- class DELPHICLASS EThread;
- class PASCALIMPLEMENTATION EThread : public Sysutils::Exception
- {
- typedef Sysutils::Exception inherited;
-
- public:
- /* Exception.Create */ __fastcall EThread(const System::AnsiString Msg) : Sysutils::Exception(Msg) { }
-
- /* Exception.CreateFmt */ __fastcall EThread(const System::AnsiString Msg, const System::TVarRec *
- Args, const int Args_Size) : Sysutils::Exception(Msg, Args, Args_Size) { }
- /* Exception.CreateRes */ __fastcall EThread(int Ident, Extended Dummy) : Sysutils::Exception(Ident
- , Dummy) { }
- /* Exception.CreateResFmt */ __fastcall EThread(int Ident, const System::TVarRec * Args, const int
- Args_Size) : Sysutils::Exception(Ident, Args, Args_Size) { }
- /* Exception.CreateHelp */ __fastcall EThread(const System::AnsiString Msg, int AHelpContext) : Sysutils::
- Exception(Msg, AHelpContext) { }
- /* Exception.CreateFmtHelp */ __fastcall EThread(const System::AnsiString Msg, const System::TVarRec
- * Args, const int Args_Size, int AHelpContext) : Sysutils::Exception(Msg, Args, Args_Size, AHelpContext
- ) { }
- /* Exception.CreateResHelp */ __fastcall EThread(int Ident, int AHelpContext) : Sysutils::Exception(
- Ident, AHelpContext) { }
- /* Exception.CreateResFmtHelp */ __fastcall EThread(int Ident, const System::TVarRec * Args, const
- int Args_Size, int AHelpContext) : Sysutils::Exception(Ident, Args, Args_Size, AHelpContext) { }
-
- public:
- /* TObject.Destroy */ __fastcall virtual ~EThread(void) { }
-
- };
-
- typedef void __fastcall (__closure *TThreadMethod)(void);
-
- enum TThreadPriority { tpIdle, tpLowest, tpLower, tpNormal, tpHigher, tpHighest, tpTimeCritical };
-
- class DELPHICLASS TThread;
- class PASCALIMPLEMENTATION TThread : public System::TObject
- {
- typedef System::TObject inherited;
-
- private:
- int FHandle;
- int FThreadID;
- bool FTerminated;
- bool FSuspended;
- bool FFreeOnTerminate;
- bool FFinished;
- int FReturnValue;
- TNotifyEvent FOnTerminate;
- TThreadMethod FMethod;
- System::TObject* FSynchronizeException;
- void __fastcall CallOnTerminate(void);
- TThreadPriority __fastcall GetPriority(void);
- void __fastcall SetPriority(TThreadPriority Value);
- void __fastcall SetSuspended(bool Value);
-
- protected:
- virtual void __fastcall DoTerminate(void);
- virtual void __fastcall Execute(void) = 0;
- void __fastcall Synchronize(TThreadMethod Method);
- __property int ReturnValue = {read=FReturnValue, write=FReturnValue, nodefault};
- __property bool Terminated = {read=FTerminated, nodefault};
-
- public:
- __fastcall TThread(bool CreateSuspended);
- __fastcall virtual ~TThread(void);
- void __fastcall Resume(void);
- void __fastcall Suspend(void);
- void __fastcall Terminate(void);
- int __fastcall WaitFor(void);
- __property bool FreeOnTerminate = {read=FFreeOnTerminate, write=FFreeOnTerminate, nodefault};
- __property int Handle = {read=FHandle, nodefault};
- __property TThreadPriority Priority = {read=GetPriority, write=SetPriority, nodefault};
- __property bool Suspended = {read=FSuspended, write=SetSuspended, nodefault};
- __property int ThreadID = {read=FThreadID, nodefault};
- __property TNotifyEvent OnTerminate = {read=FOnTerminate, write=FOnTerminate};
- };
-
- enum TOperation { opInsert, opRemove };
-
- enum Classes__34 { csLoading, csReading, csWriting, csDestroying, csDesigning, csAncestor, csUpdating,
- csFixups };
-
- typedef Set<Classes__34, csLoading, csFixups> TComponentState;
-
- enum Classes__44 { csInheritable, csCheckPropAvail };
-
- typedef Set<Classes__44, csInheritable, csCheckPropAvail> TComponentStyle;
-
- typedef void __fastcall (__closure *TGetChildProc)(TComponent* Child);
-
- typedef System::AnsiString TComponentName;
-
- __interface IVCLComObject;
- typedef System::DelphiInterface<IVCLComObject> _di_IVCLComObject;
- __interface IVCLComObject : public IUnknown /* __guid="{E07892A0-F52F-11CF-BD2F-0020AF0E5B81}" */
- {
-
- public:
- virtual HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count) = 0;
- virtual HRESULT __stdcall GetTypeInfo(int Index, int LocaleID, /* out */ void *TypeInfo) = 0;
- virtual HRESULT __stdcall GetIDsOfNames(const GUID &IID, void * Names, int NameCount, int LocaleID,
- void * DispIDs) = 0;
- virtual HRESULT __stdcall Invoke(int DispID, const GUID &IID, int LocaleID, Word Flags, void *Params
- , void * VarResult, void * ExcepInfo, void * ArgErr) = 0;
- virtual HRESULT __fastcall SafeCallException(System::TObject* ExceptObject, void * ExceptAddr) = 0;
-
- virtual void __fastcall FreeOnRelease(void) = 0;
- };
-
- class PASCALIMPLEMENTATION TComponent : public Classes::TPersistent
- {
- typedef Classes::TPersistent inherited;
-
- private:
- TComponent* FOwner;
- System::AnsiString FName;
- int FTag;
- TList* FComponents;
- TList* FFreeNotifies;
- int FDesignInfo;
- void *FVCLComObject;
- TComponentState FComponentState;
- _di_IUnknown __fastcall GetComObject(void);
- TComponent* __fastcall GetComponent(int AIndex);
- int __fastcall GetComponentCount(void);
- int __fastcall GetComponentIndex(void);
- void __fastcall Insert(TComponent* AComponent);
- void __fastcall ReadLeft(TReader* Reader);
- void __fastcall ReadTop(TReader* Reader);
- void __fastcall Remove(TComponent* AComponent);
- void __fastcall SetComponentIndex(int Value);
- void __fastcall SetReference(bool Enable);
- void __fastcall WriteLeft(TWriter* Writer);
- void __fastcall WriteTop(TWriter* Writer);
-
- protected:
- TComponentStyle FComponentStyle;
- void __fastcall ChangeName(const System::AnsiString NewName);
- virtual void __fastcall DefineProperties(TFiler* Filer);
- DYNAMIC void __fastcall GetChildren(TGetChildProc Proc, TComponent* Root);
- DYNAMIC TComponent* __fastcall GetChildOwner(void);
- DYNAMIC TComponent* __fastcall GetChildParent(void);
- DYNAMIC System::AnsiString __fastcall GetNamePath(void);
- DYNAMIC TPersistent* __fastcall GetOwner(void);
- virtual void __fastcall Loaded(void);
- virtual void __fastcall Notification(TComponent* AComponent, TOperation Operation);
- virtual void __fastcall ReadState(TReader* Reader);
- void __fastcall SetAncestor(bool Value);
- void __fastcall SetDesigning(bool Value);
- virtual void __fastcall SetName(const System::AnsiString NewName);
- DYNAMIC void __fastcall SetChildOrder(TComponent* Child, int Order);
- DYNAMIC void __fastcall SetParentComponent(TComponent* Value);
- DYNAMIC void __fastcall Updating(void);
- DYNAMIC void __fastcall Updated(void);
- /* virtual class method */ virtual void __fastcall UpdateRegistry(bool Register, const System::AnsiString
- ClassID, const System::AnsiString ProgID) { UpdateRegistry(__classid(TComponent), Register, ClassID
- , ProgID); }
- /* class method */ static void __fastcall UpdateRegistry(System::TMetaClass* vmt, bool Register
- , const System::AnsiString ClassID, const System::AnsiString ProgID);
- virtual void __fastcall ValidateRename(TComponent* AComponent, const System::AnsiString CurName, const
- System::AnsiString NewName);
- DYNAMIC void __fastcall ValidateContainer(TComponent* AComponent);
- DYNAMIC void __fastcall ValidateInsert(TComponent* AComponent);
- virtual void __fastcall WriteState(TWriter* Writer);
- HRESULT __stdcall QueryInterface(const GUID &IID, /* out */ void *Obj);
- int __stdcall _AddRef(void);
- int __stdcall _Release(void);
- HRESULT __stdcall GetTypeInfoCount(/* out */ int &Count);
- HRESULT __stdcall GetTypeInfo(int Index, int LocaleID, /* out */ void *TypeInfo);
- HRESULT __stdcall GetIDsOfNames(const GUID &IID, void * Names, int NameCount, int LocaleID, void *
- DispIDs);
- HRESULT __stdcall Invoke(int DispID, const GUID &IID, int LocaleID, Word Flags, void *Params, void *
- VarResult, void * ExcepInfo, void * ArgErr);
-
- public:
- __fastcall virtual TComponent(TComponent* AOwner);
- __fastcall virtual ~TComponent(void);
- void __fastcall DestroyComponents(void);
- void __fastcall Destroying(void);
- TComponent* __fastcall FindComponent(const System::AnsiString AName);
- void __fastcall FreeNotification(TComponent* AComponent);
- void __fastcall FreeOnRelease(void);
- DYNAMIC TComponent* __fastcall GetParentComponent(void);
- DYNAMIC bool __fastcall HasParent(void);
- void __fastcall InsertComponent(TComponent* AComponent);
- void __fastcall RemoveComponent(TComponent* AComponent);
- virtual HRESULT __fastcall SafeCallException(System::TObject* ExceptObject, void * ExceptAddr);
- __property _di_IUnknown ComObject = {read=GetComObject};
- __property TComponent* Components[int Index] = {read=GetComponent};
- __property int ComponentCount = {read=GetComponentCount, nodefault};
- __property int ComponentIndex = {read=GetComponentIndex, write=SetComponentIndex, nodefault};
- __property TComponentState ComponentState = {read=FComponentState, nodefault};
- __property TComponentStyle ComponentStyle = {read=FComponentStyle, nodefault};
- __property int DesignInfo = {read=FDesignInfo, write=FDesignInfo, nodefault};
- __property TComponent* Owner = {read=FOwner};
- __property void * VCLComObject = {read=FVCLComObject, write=FVCLComObject};
-
- __published:
- __property System::AnsiString Name = {read=FName, write=SetName, stored=false};
- __property int Tag = {read=FTag, write=FTag, default=0};
- };
-
- typedef System::TMetaClass*TComponentClass;
-
- enum TActiveXRegType { axrComponentOnly, axrIncludeDescendants };
-
- struct TIdentMapEntry
- {
- int Value;
- System::AnsiString Name;
- } ;
-
- typedef bool __fastcall (*TIdentToInt)(const System::AnsiString Ident, int &Int);
-
- typedef bool __fastcall (*TIntToIdent)(int Int, System::AnsiString &Ident);
-
- typedef TComponent* __fastcall (*TFindGlobalComponent)(const System::AnsiString Name);
-
- //-- var, const, procedure ---------------------------------------------------
- #define MaxListSize (int)(134217727)
- #define soFromBeginning (Byte)(0)
- #define soFromCurrent (Byte)(1)
- #define soFromEnd (Byte)(2)
- #define fmCreate (int)(65535)
- #define toEOF (char)(0)
- #define toSymbol (char)(1)
- #define toString (char)(2)
- #define toInteger (char)(3)
- #define toFloat (char)(4)
- extern PACKAGE void __fastcall (*RegisterComponentsProc)(const System::AnsiString Page, System::TMetaClass*
- const * ComponentClasses, const int ComponentClasses_Size);
- extern PACKAGE void __fastcall (*RegisterNoIconProc)(System::TMetaClass* const * ComponentClasses, const
- int ComponentClasses_Size);
- extern PACKAGE void __fastcall (*RegisterNonActiveXProc)(System::TMetaClass* const * ComponentClasses
- , const int ComponentClasses_Size, TActiveXRegType AxRegType);
- extern PACKAGE int CurrentGroup;
- extern PACKAGE void __fastcall (*CreateVCLComObjectProc)(TComponent* Component);
- extern PACKAGE int MainThreadID;
- extern PACKAGE TFindGlobalComponent FindGlobalComponent;
- extern PACKAGE tagPOINT __fastcall Point(int AX, int AY);
- extern PACKAGE Windows::TSmallPoint __fastcall SmallPoint(short AX, short AY);
- extern PACKAGE Windows::TRect __fastcall Rect(int ALeft, int ATop, int ARight, int ABottom);
- extern PACKAGE Windows::TRect __fastcall Bounds(int ALeft, int ATop, int AWidth, int AHeight);
- extern PACKAGE System::TMetaClass* __fastcall GetClass(const System::AnsiString ClassName);
- extern PACKAGE System::TMetaClass* __fastcall FindClass(const System::AnsiString ClassName);
- extern PACKAGE void __fastcall RegisterClass(System::TMetaClass* AClass);
- extern PACKAGE void __fastcall RegisterClasses(System::TMetaClass* const * AClasses, const int AClasses_Size
- );
- extern PACKAGE void __fastcall RegisterClassAlias(System::TMetaClass* AClass, const System::AnsiString
- Alias);
- extern PACKAGE void __fastcall UnRegisterClass(System::TMetaClass* AClass);
- extern PACKAGE void __fastcall UnRegisterClasses(System::TMetaClass* const * AClasses, const int AClasses_Size
- );
- extern PACKAGE void __fastcall UnRegisterModuleClasses(Windows::HINST Module);
- extern PACKAGE void __fastcall RegisterComponents(const System::AnsiString Page, System::TMetaClass*
- const * ComponentClasses, const int ComponentClasses_Size);
- extern PACKAGE void __fastcall RegisterNoIcon(System::TMetaClass* const * ComponentClasses, const int
- ComponentClasses_Size);
- extern PACKAGE void __fastcall RegisterNonActiveX(System::TMetaClass* const * ComponentClasses, const
- int ComponentClasses_Size, TActiveXRegType AxRegType);
- extern PACKAGE void __fastcall RegisterIntegerConsts(void * IntegerType, TIdentToInt IdentToInt, TIntToIdent
- IntToIdent);
- extern PACKAGE bool __fastcall IdentToInt(const System::AnsiString Ident, int &Int, const TIdentMapEntry
- * Map, const int Map_Size);
- extern PACKAGE bool __fastcall IntToIdent(int Int, System::AnsiString &Ident, const TIdentMapEntry *
- Map, const int Map_Size);
- extern PACKAGE void __fastcall BeginGlobalLoading(void);
- extern PACKAGE void __fastcall NotifyGlobalLoading(void);
- extern PACKAGE void __fastcall EndGlobalLoading(void);
- extern PACKAGE bool __fastcall InitInheritedComponent(TComponent* Instance, System::TMetaClass* RootAncestor
- );
- extern PACKAGE bool __fastcall InitComponentRes(const System::AnsiString ResName, TComponent* Instance
- );
- extern PACKAGE TComponent* __fastcall ReadComponentRes(const System::AnsiString ResName, TComponent*
- Instance);
- extern PACKAGE TComponent* __fastcall ReadComponentResEx(int HInstance, const System::AnsiString ResName
- );
- extern PACKAGE TComponent* __fastcall ReadComponentResFile(const System::AnsiString FileName, TComponent*
- Instance);
- extern PACKAGE void __fastcall WriteComponentResFile(const System::AnsiString FileName, TComponent*
- Instance);
- extern PACKAGE bool __fastcall CollectionsEqual(TCollection* C1, TCollection* C2);
- extern PACKAGE char * __fastcall LineStart(char * Buffer, char * BufPos);
- extern PACKAGE int __fastcall ExtractStrings(const Sysutils::TSysCharSet &Separators, const Sysutils::TSysCharSet
- &WhiteSpace, char * Content, TStrings* Strings);
- extern PACKAGE void __fastcall GlobalFixupReferences(void);
- extern PACKAGE void __fastcall GetFixupReferenceNames(TComponent* Root, TStrings* Names);
- extern PACKAGE void __fastcall RedirectFixupReferences(TComponent* Root, const System::AnsiString OldRootName
- , const System::AnsiString NewRootName);
- extern PACKAGE void __fastcall RemoveFixupReferences(TComponent* Root, const System::AnsiString RootName
- );
- extern PACKAGE void __fastcall RemoveFixups(TPersistent* Instance);
- extern PACKAGE void __fastcall GetFixupInstanceNames(TComponent* Root, const System::AnsiString ReferenceRootName
- , TStrings* Names);
- extern PACKAGE void __fastcall ObjectBinaryToText(TStream* Input, TStream* Output);
- extern PACKAGE void __fastcall ObjectTextToBinary(TStream* Input, TStream* Output);
- extern PACKAGE void __fastcall ObjectResourceToText(TStream* Input, TStream* Output);
- extern PACKAGE void __fastcall ObjectTextToResource(TStream* Input, TStream* Output);
-
- } /* namespace Classes */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Classes;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // Classes
-